#ifndef SERVERGLOBALS_CC
#define SERVERGLOBALS_CC

#define KILL_SERVER 0
#define SERVER 1
#define SIMPLETHREAD 2
#define USERPROG1_THREAD1 3
#define USERPROG1_THREAD2 4
#define USERPROG1_THREAD3 5
#define USERPROG1_THREAD4 6
#define USERPROG1_THREAD5 7

#define SERVER_ID 1
#define SERVERDATALOCK 0

#define SERVER_TO 1

#define THREAD_TO 3

#define LOCK_ACQUIRE 1
#define LOCK_RELEASE 2
#define LOCK_ISHELDBYCURRENT 3
#define COND_WAIT 4
#define COND_SIGNAL 5
#define COND_BROADCAST 6
#define UPDATE_MV 7
#define RETRIEVE_MV 8
#define CREATE_LOCK 9
#define CREATE_CV 10

#define MAX_NUM_SERVLOCKS 10
#define MAX_NUM_SERVCONDS 10
#define MAX_NUM_MONVARS 10

#endif
